﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace UmlDesigner.Model
{
    [Serializable]
    class Attribute
    {
        internal string accessLevel = "internal";
        internal string type = "int";
        internal string name = "newAttribute";

        internal void GenerateCode(CodeGenerationSettings settings)
        {
            settings.WriteIndentedLine(accessLevel + " " + type + " " + name + ";");
            settings.WriteIndentedLine("");
        }


        internal string GetAsDisplayableString()
        {
            return type + " " + name;
        }
    }
}
